package kingiis.utils.simpleapp.utils;

import android.app.Activity;

/**
 * Created by King on 2017/12/29 0029.
 */

public class Thread {

    /**
     * 主界面运行任务
     *
     * @param activity
     * @param runnable
     */
    public static void runOnMain(Activity activity, Runnable runnable) {
        activity.runOnUiThread(runnable);
    }
}
